package cn.ryh.openfeign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Rao
 * @Description
 * @create 2021-12-03 13:17
 */
@FeignClient(value = "CLOUD-PAYMENT-SERVICE")
public interface PaymentFeignService {
    /**
     * 获取
     *
     * @return
     */
    @GetMapping(value = "/payment/getServer")
    String getServer();

    /**
     * 模拟超时
     * @return
     */
    @GetMapping(value = "/payment/getServerTimeOut")
    String getServerTimeOut();
}
